//package com.zhuss.controller.core;
//
//import java.util.Date;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.zhuss.bean.unit.food.WeekDay;
//import com.zhuss.common.BaseController;
//import com.zhuss.core.user.UserService;
//import com.zhuss.exception.ExceptionCode;
//import com.zhuss.exception.AabException;
//
///**
// * @Author: zhushanshuo
// * @Date: 2019/11/27 19:58
// */
//@RestController
//@RequestMapping("/user")
//public class UserController extends BaseController {
//	
//	@Autowired
//	private UserService userService;
//	
//	
//	@ResponseBody
//    @RequestMapping("/login")
//	public Object login() throws AabException {
//		return userService.login();
//	}
//	
//	@ResponseBody
//    @RequestMapping("/test")
//    public Object test() throws AabException {
//		// return 1;
//		throw new AabException(ExceptionCode.登录失败);
//    }
//	
//	@ResponseBody
//	@RequestMapping("/test2")
//	public Object test2() throws AabException {
//		WeekDay weekDay = new WeekDay();
//		weekDay.setDate(new Date().getTime());
//		weekDay.setWeekDay("周三");
//		return weekDay;
//	}
//
//
//
//	
//}
